//
//  ShopOrderFooterCell.m
//  CYWFrame
//
//  Created by Macx on 2017/9/16.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "ShopOrderFooterCell.h"

@implementation ShopOrderFooterCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.contentView.backgroundColor = kWhiteColor;
    
    self.num.font = kUHSystemFontWithSize(12);
    self.price.font = kUHSystemFontWithSize(12);
    
    CGSize moneyS = [LZCTools textSizeWithText:@"合计:10000.00(运费:100.00)" font:self.price.font];
    
    self.price.frame = CGRectMake(SCREEN_WIDTH-10-moneyS.width, 0, moneyS.width, 40);
    self.num.frame = CGRectMake(SCREEN_WIDTH-20-self.price.width*2, 0, self.price.width, 40);
    
    self.line.frame = CGRectMake(0, 40, SCREEN_WIDTH, 1);
    
	self.contactWithOwner.layer.cornerRadius = 9.0;
	self.contactWithOwner.layer.borderColor = [UIMainColorRGB CGColor];
	[self.contactWithOwner setTitleColor:UIMainColorRGB forState:UIControlStateNormal];
	self.contactWithOwner.backgroundColor = kWhiteColor;
	self.contactWithOwner.hidden = YES;
	self.contactWithOwner.layer.borderWidth = 1.0;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
